package c.h.a.k0.a;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.appcompat.app.ActionBar;
import c.h.a.m0.h;
import c.h.a.y.a;
import com.liuzh.deviceinfo.tests.MultiTouchView;
import com.liuzh.deviceinfo.tests.TestesActivity;

/* compiled from: MultiTouchTestFragment */
public class e0 extends a {
    public MultiTouchView W;

    public void E(Bundle bundle) {
        super.E(bundle);
        ActionBar t = ((TestesActivity) Y()).t();
        if (t != null) {
            t.f();
        }
        if (!m0()) {
            h.g(Y());
        }
    }

    public View G(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
        if (this.W == null) {
            this.W = new MultiTouchView(layoutInflater.getContext());
        }
        return this.W;
    }

    public void q0(boolean z) {
        if (!m0()) {
            h.g(Y());
        }
    }
}
